package com.Service;

import com.Domain.commonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Service
@FeignClient(value = "CLOUD-PAYMENT-SERVICE")
public interface PaymentfeignService {

    @GetMapping("/payment/get/{id}")
    public commonResult getPaymentById(@PathVariable("id")Long id);
}
